const pathInput = 'config/input'
const pathSelect = 'config/select'
const pathButton = 'config/button'
const pathPicker = 'config/picker'
const pathSpecial = 'config/special'
export const jsonPath = {
    // input
    inputComponent: `${pathInput}/inputComponent.json`,
    inputNumber: `${pathInput}/inputNumber.json`,
    inputTextarea: `${pathInput}/inputTextarea.json`,
    inputPassword: `${pathInput}/inputPassword.json`,

    // picker
    datePicker: `${pathPicker}/datePicker.json`,
    timePicker: `${pathPicker}/timePicker.json`,

    // select
    selectComponent: `${pathSelect}/selectComponent.json`,
    radioComponent: `${pathSelect}/radioComponent.json`,
    checkboxComponent: `${pathSelect}/checkboxComponent.json`,
    // button
    buttonComponent: `${pathButton}/buttonComponent.json`,

    // special
    cardComponent: `${pathSpecial}/card.json`,
    row: `${pathSpecial}/row.json`,
    tableComponent: `${pathSpecial}/tableComponent.json`,

}

export const config = {
    __components__: {
        buttonComponent: "按钮",
        inputComponent: "输入框",
        inputNumber: "数字输入框",
        inputPassword: "密码输入框",
        inputTextarea: "文本域",
        datePicker: "日期选择器",
        dateTimePicker: "日期时间选择器",
        timePicker: "时间选择器",
        selectComponent: "下拉选择框",
        checkboxComponent: "多选",
        radioComponent: "单选",
        card: "卡片布局",
        tableComponent: "表格",
        row: "行容器",
    },
    __config__: '配置项',
    __slot__: "插槽",
    __options__: "属性",
    __vModel__: "绑定值"
}